package com.shuma.shopmanage.model.shop.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author  wp
 * @data  2023/10/24
 */

/**
 * 商品代理表
 */
@ApiModel(description = "商品代理表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goodsProxy")
public class GoodsProxy implements Serializable {
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private Long id;

    /**
     * 商品编号
     */
    @TableField(value = "goodsId")
    @ApiModelProperty(value = "商品编号")
    private Long goodsId;

    /**
     * 代理人编号
     */
    @TableField(value = "proxyId")
    @ApiModelProperty(value = "代理人编号")
    private Long proxyId;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "updateTime")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}